
<!DOCTYPE html>
<html lang="en-US">
<head>
    <meta charset="UTF-8"/>
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=1" name="viewport" />
    <meta http-equiv="content-script-type" content="text/javascript">
    <meta name="format-detection" content="telephone=no" />
    <!-- uc强制竖屏 -->
    <meta name="screen-orientation" content="portrait">
    <!-- QQ强制竖屏 -->
    <meta name="x5-orientation" content="portrait">
            <link rel="shortcut icon" href="/favicon.ico">
            <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
        <meta http-equiv="Pragma" content="no-cache" />
        <meta http-equiv="Expires" content="0" />
    <title>我的佣金</title>
    <link rel="stylesheet"href="statics/mobile/css/style.css?v=20170811593336556457">
    <link rel="stylesheet"href="statics/mobile/css/SpsBtn.css?v=20170811593336556457">

    <link rel="stylesheet"href="statics/mobile/css/User/reset.css?v=20170811593336556457">
    <link rel="stylesheet"href="statics/mobile/css/Agent/commission.css?v=20170811593336556457">

</head>

<body style="width:100%;">
<div class="membersbox pad50">


    <input type="hidden" name="remaining_commission" value="<?php echo $customer_count['amount'];?>"/>
    <input type="hidden" name="withdraw_start_amount" value="1"/>
    <input type="hidden" name="withdraw_percentage" value="0"/>
    <input type="hidden" name="max_tx_money" value=""/>
    <input type="hidden" name="min_tx_money" value=""/>
    <input type="hidden" name="is_draw_int" value="0"/>
    <input type="hidden" name="not_limit_commission" value="0"/>
    <input type="hidden" name="withdraw_multiple" value="1"/>
    <input type="hidden" name="withdraw_proportion" value=""/>
    <input type="hidden" name="specify_time" value=""/>
    <input type="hidden" name="in_time" value="1"/>
    <section class="cashitem depositvip">
        <section class="data-content">
            <section class="data_h">
                <section class="content_head clearfix">
                    <section class="income_commission fl">
                        <p>本月预估佣金</p>
                        <strong><?php echo $estimate;?>元</strong>
                    </section>
                    <section class="remaine_commission fr">
                        <p>上月结算佣金</p>
                        <strong><?php echo $balance;?>元</strong>
                    </section>
                </section>
                
            </section>
            <section class="data_m">
                <section class="data_m_act">
                    <section class="clearfix">
                        <p class="fl">
                            <span>可提现金额</span>
                            <strong>￥<?php echo intval($customer_count['amount']);?></strong>
                        </p>
						<p class="fl">
                            <span>冻结金额</span>
                            <strong>￥<?php echo intval($customer_count['wait_amount']);?></strong>
                        </p>
                        <section class="getcash_btn clearfix">
                            <input type="button" id="cash-apply" class="fr" value="我要提现"></section>
                    </section>
                    <section class="getcash_tip clearfix">
                        <i class="fl">!</i>
                        <span>温馨提示：每月28号结算上月佣金</span>
                    </section>
                </section>
                <section class="fxs_data">
                    <h2><span>分销商收入佣金</span></h2>
                    <ul style="border-bottom:0;">
                        <li><div><p>总计</p><strong><?php echo ($orders[3]['ctotal']+$orders[4]['ctotal']);?></strong> 元</div></li>
                        <li><div><p>待收益</p><strong><?php echo ($orders[1]['ctotal']+$orders[2]['ctotal']);?></strong> 元</div></li>
                    </ul>
                    <ul>
                        <li><div><p>完成订单</p><strong><?php echo $orders[3]['ototal']+$orders[4]['ototal'];?></strong> 笔</div></li>
                        <li><div><p>交易中订单</p><strong><?php echo $orders[1]['ototal']+$orders[2]['ototal'];?></strong> 笔</div></li>
                    </ul>
                </section>
            </section>
            <section class="data_f">
                <div class="IntegralDetail" id="J-listuser">
                    <h2><span>佣金明细</span></h2>
					<table style="width:100%;">
					  <thead>
						  <tr>
							  <td>订单</td>
							  <td>状态</td>
							  <td>佣金</td>
							  <td>时间</td>
						  </tr>
					  </thead>
					  <tbody>
						  <?php foreach($list as $k=>$v){?>
						  <tr>
							  <td><?php echo $v['content'];?></td>
							  <td><?php echo $GLOBALS['order_status'][$v['order_status']];?></td>
							  <td><?php echo $v['commission'];?></td>
							  <td><?php echo date('Y-m-d',$v['updatetime']);?></td>
						  </tr>
						  <?php }?>
					  </tbody>
				  </table>
                </div>
				  
            </section>
        </section>
        <div class="cash-forms clearfix" id="counter_cash">
            <h2>提现申请 <a href="javascript:;" class="j-count-close fr">&times;</a></h2>
            <!--<form action="">-->
                    <div class="select_pay_type clearfix">
                        <div class="big_pay_type clearfix">
                            <label class='pay_yy checked' for="weizf"><input type="radio" name="type" value="2" checked id="weizf"/><img src="statics/mobile/images/wxzf.png" width="100%" alt=""><i></i></label> <label class='pay_yy ' for="zfb"><input type="radio" name="type" value="1" id="zfb" /><img src="statics/mobile/images/zfb.png" width="100%" alt=""><i></i></label>                   <label class='pay_yy  ' for="online"><input type="radio" name="type" value="3"  class="dt_wy" id="online" /><img src="statics/mobile/images/jdplay.jpg" width="100%" alt=""><i></i></label>                        
						</div>
                        <div class="pay_yinhang">
                            <div class="clearfix formitems ">
                                <label class="fi-name"><span class="colorRed">*</span>选择银行：</label>
                                <div class="form-controls">
                                    <select name="bank_id" class="select">
                                        <option value="0" selected="">--请选择--</option>
                                        <option value="1" >中国银行</option><option value="2" >中国农业银行</option><option value="3" >中国建设银行</option><option value="4" >中国招商银行</option><option value="5" >中国工商银行</option><option value="6" >中国邮政</option><option value="7" >交通银行</option><option value="8" >中国民生银行</option><option value="9" >广东发展银行</option>                            
									</select>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="counter clearfix pay_yinhang">
                        <div class="inputinfo"><input type="text" name="open_bank" placeholder="请填写开户行" id="open_bank" data-bank=""></div>
                    </div>
                    <div class="counter clearfix counter_account">
                        <div class="inputinfo"><input type="text" name="alipay_account" placeholder="请填写账号" id="alipay_account" data-ali_account="" data-jd_account=""></div>
                    </div>
                    <div class="counter clearfix">
                        <div class="inputinfo"><input type="text" name="money" placeholder="提现金额" id="money" onkeyup="this.value=this.value.replace(/[^0-9.]/g,'')"></div>
                    </div>
					<p id="bid_amount" style="padding-left:15px;">可提现金额 <b style="color:#ff6600;">￥<?php echo $customer_count['amount'];?></b>&nbsp;<a href="javascript:;">全部提现</a></p>
                    <div class="count_user clearfix">
                        <div class="inputinfo"><input type="text" name="name" placeholder="账户姓名" id="name" data-wx_name="" data-ali_name="" data-jd_name="" value=""></div>
                    </div>
                    <div class="show_tip clearfix">
                        <i>!</i>
                        <section class="tip_txt">
                            <section class="name_tip">请填写真实姓名</section>
                        </section>
                    </div>
                    <div class="count_node clearfix">
                        <div class="">
                            <a href="javascript:;" class="count-btn" id="tx_btn">申请提现</a>
                        </div>
                    </div>
            <!--</form>-->
        </div>
    </section>
    <!-- 输入支付密码弹窗 -->
    <div class="paypopbg"> </div>
    <div class="paypop">
        <div class="paytit">请输入支付密码：</div>
        <div class="paypsd"><input type="password" name="pay_password" value=""></div>
        <div class="paybtns clearfix">
            <a href="javascript:;" class="j-payok fl">确定</a>
            <a href="javascript:;" class="j-paycancel fr">取消</a>
        </div>
    </div>
    <input type="hidden" value="1" id="popup_show">
    <?php include VIEWS_PATH."bottom.php";?>

    <b id="htmlReplace-navCart"></b>
</div>

<?php include VIEWS_PATH."footer.php";?>


<script src="statics/mobile/plugins/jquery/jquery.cookie.min.js?v=20170811593336556457"></script>
<script src="statics/mobile/js/dist/User/lists.js?v=20170811593336556457"></script>
<script src="statics/mobile/js/dist/Agent/commission.js?v=20170811593336556457"></script>
<script type="text/javascript">
<!--
	$("#bid_amount").click(function(){
		$('#money').val($(this).find('b').text().replace('￥',''));
	});
//-->
</script>
</body>
</html>
<!-- 20170105 -->
